package com.smtx.service;

import java.io.IOException;
import java.util.regex.Pattern;

/**
 * Created by IntelliJ IDEA.
 * User: Cyril
 * Date: 15.04.11
 * Time: 3:36
 * To change this template use File | Settings | File Templates.
 */
public interface Repository extends Node {
    Pattern refTpl = Pattern.compile("^([\\w\\d\\. _]+)\\:([\\w\\d\\.\\ _]+)$");

    Node getNode(String path) throws IOException;
    void remove();

    public interface Reference {
        String getRepositoryName();
        String getPath();
    }
}
